<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*,com.sp.model.*"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="css/pintuer.css">
<link rel="stylesheet" href="css/admin.css">
<script src="js/jquery.js"></script>
<script src="js/pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel margin-top">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改新闻类别</strong></div>
  <div class="body-content">
      <%
       int tid=Integer.parseInt(request.getParameter("tid"));
       NTypeOper ntop=new NTypeOper();
       NTypeBean ub=ntop.GetTypeById(tid);
     %> 
    <form method="post" class="form-x" action="NewsType?do=update&&tid=<%=tid %>"> 
      
      <div class="form-group">
        <div class="label">
          <label>类别名称：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" name="title" value="<%=ub.getTname() %>" />
          <div class="tips"></div>
        </div>
      </div>
      
              
      <div class="form-group">
        <div class="label">
          <label>描述：</label>
        </div>
        <div class="field">
          <input type="text" class="input" name="remark" value="<%=ub.getTremarks() %>"/>        
        </div>
      </div>
    
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</html>